﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000607 RID: 1543
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GameplayCounterRecoverScRsp : IMessage<GameplayCounterRecoverScRsp>, IMessage, IEquatable<GameplayCounterRecoverScRsp>, IDeepCloneable<GameplayCounterRecoverScRsp>, IBufferMessage
	{
		// Token: 0x170013D7 RID: 5079
		// (get) Token: 0x0600457E RID: 17790 RVA: 0x000BE340 File Offset: 0x000BC540
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GameplayCounterRecoverScRsp> Parser
		{
			get
			{
				return GameplayCounterRecoverScRsp._parser;
			}
		}

		// Token: 0x170013D8 RID: 5080
		// (get) Token: 0x0600457F RID: 17791 RVA: 0x000BE347 File Offset: 0x000BC547
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GameplayCounterRecoverScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170013D9 RID: 5081
		// (get) Token: 0x06004580 RID: 17792 RVA: 0x000BE359 File Offset: 0x000BC559
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GameplayCounterRecoverScRsp.Descriptor;
			}
		}

		// Token: 0x06004581 RID: 17793 RVA: 0x000BE360 File Offset: 0x000BC560
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GameplayCounterRecoverScRsp()
		{
		}

		// Token: 0x06004582 RID: 17794 RVA: 0x000BE368 File Offset: 0x000BC568
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GameplayCounterRecoverScRsp(GameplayCounterRecoverScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004583 RID: 17795 RVA: 0x000BE38D File Offset: 0x000BC58D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GameplayCounterRecoverScRsp Clone()
		{
			return new GameplayCounterRecoverScRsp(this);
		}

		// Token: 0x170013DA RID: 5082
		// (get) Token: 0x06004584 RID: 17796 RVA: 0x000BE395 File Offset: 0x000BC595
		// (set) Token: 0x06004585 RID: 17797 RVA: 0x000BE39D File Offset: 0x000BC59D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06004586 RID: 17798 RVA: 0x000BE3A6 File Offset: 0x000BC5A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GameplayCounterRecoverScRsp);
		}

		// Token: 0x06004587 RID: 17799 RVA: 0x000BE3B4 File Offset: 0x000BC5B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GameplayCounterRecoverScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004588 RID: 17800 RVA: 0x000BE3E4 File Offset: 0x000BC5E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004589 RID: 17801 RVA: 0x000BE423 File Offset: 0x000BC623
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600458A RID: 17802 RVA: 0x000BE42B File Offset: 0x000BC62B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600458B RID: 17803 RVA: 0x000BE434 File Offset: 0x000BC634
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600458C RID: 17804 RVA: 0x000BE468 File Offset: 0x000BC668
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600458D RID: 17805 RVA: 0x000BE4A6 File Offset: 0x000BC6A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GameplayCounterRecoverScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600458E RID: 17806 RVA: 0x000BE4D7 File Offset: 0x000BC6D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600458F RID: 17807 RVA: 0x000BE4E0 File Offset: 0x000BC6E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001B63 RID: 7011
		private static readonly MessageParser<GameplayCounterRecoverScRsp> _parser = new MessageParser<GameplayCounterRecoverScRsp>(() => new GameplayCounterRecoverScRsp());

		// Token: 0x04001B64 RID: 7012
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001B65 RID: 7013
		public const int RetcodeFieldNumber = 5;

		// Token: 0x04001B66 RID: 7014
		private uint retcode_;
	}
}
